package com.jumi.microservice.service;

import com.jumi.microservice.domain.GoodsFootprintDO;
import com.jumi.microservice.domain.GoodsFootprintVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface GoodsFootprintService  extends IService<GoodsFootprintDO>{

    /**
     * 增加我的足迹
     * @param memberId
     * @param goodsId
     */
    void FootprintAdd(Long memberId,Long goodsId);

    /**
     * 删除足迹
     * @param id
     */
    void FootprintDelete(Long id);

    /**
     * 查询我的足迹列表
     * @param memberId
     * @return
     */
    List<GoodsFootprintVO> FootprintList(Long memberId);

}
